package com.gosuncn.zfysdk.demo.ui;

import android.annotation.SuppressLint;
import android.content.pm.ActivityInfo;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.navigation.NavController;
import androidx.navigation.NavDestination;
import androidx.navigation.Navigation;
import androidx.navigation.fragment.NavHostFragment;

import com.gosuncn.zfysdk.demo.R;
import com.gosuncn.zfysdk.demo.databinding.ActivityDemoBinding;
import com.gosuncn.zfysdk.demo.base.BaseActivity;
import com.gosuncn.zfysdk.demo.base.BaseViewModel;
import com.wzq.mvvmsmart.utils.KLog;

public class MainActivity extends BaseActivity<ActivityDemoBinding, BaseViewModel> {
    @SuppressLint("SourceLockedOrientationActivity")
    @Override
    public void initParam() {
        super.initParam();
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
    }

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_demo;
    }

    @Override
    public int initVariableId() {
        return com.gosuncn.zfysdk.demo.BR.viewModel;
    }

}
